package top.aylan.org.service;

import top.aylan.org.entity.Blog;
import top.aylan.org.entity.Project;
import top.aylan.org.entity.ProjectExample;
import top.aylan.org.tools.Pager;

import java.util.List;

/**
 * Created by Administrator on 2018/12/29.
 */
public interface ProjectService {

    public List<Project> selectProjectByPage(Pager pager) throws Exception;

    public int getCount(ProjectExample example) throws Exception;

    public Project findById(Integer id)throws Exception;

    public Project findByExample(ProjectExample example) throws Exception;

    public int delete(Integer id) throws Exception;

    public int save(Project Project)throws Exception;

    public int updateById(Integer id,Project Project)throws Exception;

    List<Blog> selectBlogsByPage(Pager<Project> pager);
}
